#include "Sample.h"

Sample::Sample(void)
{
}

Sample::~Sample(void)
{
}

bool Sample::Init()
{
	return true;
}

bool Sample::Frame()
{
	return true;
}

bool Sample::Render()
{

	return true;
}

bool Sample::Release()
{
	return true;
}

int WINAPI _tWinMain(HINSTANCE hInstance,HINSTANCE hPreInstance, LPTSTR, int)
{
	Sample testWin;


	if( !testWin.CreateWin(hInstance,_T("DCore Sample")) )
	{
		MessageBox(NULL,_T("CreateWin Failed"),_T("DWindow Error"),MB_OK);
		return -1;
	}

	if(!testWin.InitEngine())
	{
		MessageBox(NULL,_T("InitEngine Failed"),_T("DCore Error"),MB_OK);
		return -1;
	}

	testWin.Run();
	return 0;
}